﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace blackhouse.Web.FasterFiles
{
    internal class FasterFilesStoreItem
    {
        public string File;
        public Type SenderType;
        public FasterFilesType Type;

        public override bool Equals(object obj)
        {
            FasterFilesStoreItem cobj = obj as FasterFilesStoreItem;
            if (cobj != null)
                return this.File.Equals(cobj.File);
            else return false;
        }

        public override int GetHashCode()
        {
            return this.File.GetHashCode();
        }

        public override string ToString()
        {
            return this.File;
        }
    }
}